Handle Withdrawals JSON
POST/api/operator/WithdrawApprovalJson
An API call will be sent to an operator’s notification callback URL alerting them of pending withdrawals. After receiving this notification an operator will need to approve or reject the requested withdrawal.
This method is used to make an authenticated request to approve a specific withdrawal received via notification callback.
Example Scenario:
- End user makes a withdrawal on the VIP Connect web component.
- VIP Connect notifies the operator using the notification endpoint URL configured.
- Operator reviews the received withdrawal request.
- Operator calls withdrawal approval endpoint on VIP Connect.
- Operator receives successful response status.
info
No action needed to reject a withdrawal request. Operator can review and ignore the withdrawal notification received.
Request
Responses
- 200
- 400
API received the request and responded
Example Response
{
"transactionId":"9f80db7112",
"amount":"10.33",
"transactionType":"withdraw",
"timestamp":"2022-10-03T14:23:09.2188558+00:00",
"transactionResult":"Success"
}
API received and the request failed.
Example Response
{
"errorCode": "99",
"transactionStage": "WithdrawalApproval",
"operatorErrorMessage": "Failure in WithdrawalApproval. WithdrawApproval has FAILED with Transaction Id: 9f80db71aa",
"operatorDeclineDescription": "Unable to process your request at this time. For further assistance please contact Pavilion Gaming Services customer support at 1-800-500-1973 with reference code E-99",
"patronErrorMessage": "Unable to process your request at this time. For further assistance please contact Pavilion Gaming Services customer support at 1-800-500-1973 with reference code E-99"
}